#!/usr/bin/python
# --*-- coding: utf-8 -*-
#Create Time : 2006 2006-5-4 13:39:20
#Create By User :

#------------------------------------------------
# config file
#------------------------------------------------

import sys

__version__ = ( 0, 0, 1 )

CONF_PAGE_THEME = 'blue' #path name of theme under template directory

CONF_PAGE_CHARSET = 'utf-8' # html page charset

CONF_STREAMING_MIRROR_PATH = 'streaming' # mapping of streaming server path

CONF_STREAMING_PROTOCOL = 'rtsp://' # steaming protocol type

#CONF_MEDIA_ROOT_PATH = '/' # where is the media directory
CONF_MEDIA_ROOT_PATH = 'D:\\MUSIC'
#CONF_MEDIA_ROOT_PATH = '/home/fla/MUSIC'

CONF_AUDIO_EXT = '\.[mM][pP]3|\.[wW][mM][aA]|\.[oO][gG][gG]'

CONF_VIDEO_EXT = '\.[rR][mM]|\.[rR][mM][vV][bB]|\.[aA][vV][iI]|\.[wW][mM][vV]|\.[mM][pP][gG]|\.[mM][pP][eE][gG]'

CONF_COVER_EXT = '\.[jJ][eE][pP][gG]|\.[pP][nN][gG]|\.[gG][iI][fF]|\.[jJ][pP][gG]'

CONF_ACL_LISTS = ['0.0.0.0/0']

CONF_SITE_NAME = 'Cylons Media Manager 2'

CONF_SEARCH_REFUR_INTERVAL = 60*60

CONF_INTRO_FILENAME = 'intro.html'

CONF_FORBIDDEN_FILENAME = 'forbidden.html'

CONF_DEFAULT_COVER = '' # some picture , is a default media cover

CONF_SITE_PATH = 'D:\\eclipse\\workspace\\Cylons2' # this is the site path

CONF_STATIC_DIRECTORY = 'D:\\eclipse\\workspace\\Cylons2\static'

#===============================================================================
# Announce global version
#===============================================================================

__COPYRIGHT_HTML__ = '''Copyright (c) 2005 Cylons Media Manager. All rights reserved by fla.liu.'''

__COPYRIGHT_CONSOLE__ = '''Cylons Media Manager 2005
    All rights reserved by fla.liu
    Web site:    http://spilot.com.cn/cylonsmm/
    Email:       cylonsmm@gmail.com'''

__SERIES__ = 'Professional'

global __PLATFORM__     #IGNORE:W0121
__PLATFORM__ = sys.platform

__VER__ = 'CylonsMM2/Dev/%s' % '.'.join( '%s' % x for x in __version__ )

#set lic
__LIC2__ = 'Spilot'

global version    #IGNORE:W0121
version = __COPYRIGHT_HTML__ + __VER__ + '/' \
    + __SERIES__ + '/' + __PLATFORM__ + ' Lic to %s' % __LIC2__

__v__ = __VER__ + '/' + __SERIES__ + '/' + __PLATFORM__ + ' Lic to %s' % __LIC2__

__SHOW_VERSION__ = '''===============================================================
%s
    %s
===============================================================
''' % ( __COPYRIGHT_CONSOLE__, __v__ )


if __name__ == '__main__':
    for x in dir():
        print "%s ----> %s\r\n " % (str(x), eval(x))
